package com.maolong.spring.beans.factory.config;


import com.maolong.spring.beans.factory.HierarchicalBeanFactory;

/**
 * Configuration interface to be implemented by most bean factories. Provides
 * facilities to configure a bean factory, in addition to the bean factory
 * client methods in the {@link cn.bugstack.springframework.beans.factory.BeanFactory}
 * interface.
 * * 大多数 Bean 工厂都需要实现的配置接口。除了提供 {@link cn.bugstack.springframework.beans.factory.BeanFactory}
 *  * 接口中的 Bean 工厂客户端方法外，还提供了配置 Bean 工厂的设施。
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry {

    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

}
